Optimal. Leaf size=67 \[ \frac{18 c^{3/2} \tanh ^{-1}\left (\frac{\sqrt{c+d x^3}}{3 \sqrt{c}}\right )}{d}-\frac{6 c \sqrt{c+d x^3}}{d}-\frac{2 \left (c+d x^3\right )^{3/2}}{9 d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0569293, antiderivative size = 67, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 4, integrand size = 27, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.148, Rules used = {444, 50, 63, 206} \[ \frac{18 c^{3/2} \tanh ^{-1}\left (\frac{\sqrt{c+d x^3}}{3 \sqrt{c}}\right )}{d}-\frac{6 c \sqrt{c+d x^3}}{d}-\frac{2 \left (c+d x^3\right )^{3/2}}{9 d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 444
Rule 50
Rule 63
Rule 206
Rubi steps
\begin{align*} \int \frac{x^2 \left (c+d x^3\right )^{3/2}}{8 c-d x^3} \, dx &=\frac{1}{3} \operatorname{Subst}\left (\int \frac{(c+d x)^{3/2}}{8 c-d x} \, dx,x,x^3\right )\\ &=-\frac{2 \left (c+d x^3\right )^{3/2}}{9 d}+(3 c) \operatorname{Subst}\left (\int \frac{\sqrt{c+d x}}{8 c-d x} \, dx,x,x^3\right )\\ &=-\frac{6 c \sqrt{c+d x^3}}{d}-\frac{2 \left (c+d x^3\right )^{3/2}}{9 d}+\left (27 c^2\right ) \operatorname{Subst}\left (\int \frac{1}{(8 c-d x) \sqrt{c+d x}} \, dx,x,x^3\right )\\ &=-\frac{6 c \sqrt{c+d x^3}}{d}-\frac{2 \left (c+d x^3\right )^{3/2}}{9 d}+\frac{\left (54 c^2\right ) \operatorname{Subst}\left (\int \frac{1}{9 c-x^2} \, dx,x,\sqrt{c+d x^3}\right )}{d}\\ &=-\frac{6 c \sqrt{c+d x^3}}{d}-\frac{2 \left (c+d x^3\right )^{3/2}}{9 d}+\frac{18 c^{3/2} \tanh ^{-1}\left (\frac{\sqrt{c+d x^3}}{3 \sqrt{c}}\right )}{d}\\ \end{align*}
Mathematica [A] time = 0.034809, size = 58, normalized size = 0.87 \[ \frac{162 c^{3/2} \tanh ^{-1}\left (\frac{\sqrt{c+d x^3}}{3 \sqrt{c}}\right )-2 \sqrt{c+d x^3} \left (28 c+d x^3\right )}{9 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.01, size = 441, normalized size = 6.6 \begin{align*} -{\frac{2\,{x}^{3}}{9}\sqrt{d{x}^{3}+c}}-{\frac{56\,c}{9\,d}\sqrt{d{x}^{3}+c}}-{\frac{3\,ic\sqrt{2}}{{d}^{3}}\sum _{{\it \_alpha}={\it RootOf} \left ({{\it \_Z}}^{3}d-8\,c \right ) }{\sqrt [3]{-{d}^{2}c}\sqrt{{{\frac{i}{2}}d \left ( 2\,x+{\frac{1}{d} \left ( -i\sqrt{3}\sqrt [3]{-{d}^{2}c}+\sqrt [3]{-{d}^{2}c} \right ) } \right ){\frac{1}{\sqrt [3]{-{d}^{2}c}}}}}\sqrt{{d \left ( x-{\frac{1}{d}\sqrt [3]{-{d}^{2}c}} \right ) \left ( -3\,\sqrt [3]{-{d}^{2}c}+i\sqrt{3}\sqrt [3]{-{d}^{2}c} \right ) ^{-1}}}\sqrt{{-{\frac{i}{2}}d \left ( 2\,x+{\frac{1}{d} \left ( i\sqrt{3}\sqrt [3]{-{d}^{2}c}+\sqrt [3]{-{d}^{2}c} \right ) } \right ){\frac{1}{\sqrt [3]{-{d}^{2}c}}}}} \left ( i\sqrt [3]{-{d}^{2}c}{\it \_alpha}\,\sqrt{3}d-i\sqrt{3} \left ( -{d}^{2}c \right ) ^{{\frac{2}{3}}}+2\,{{\it \_alpha}}^{2}{d}^{2}-\sqrt [3]{-{d}^{2}c}{\it \_alpha}\,d- \left ( -{d}^{2}c \right ) ^{{\frac{2}{3}}} \right ){\it EllipticPi} \left ({\frac{\sqrt{3}}{3}\sqrt{{i\sqrt{3}d \left ( x+{\frac{1}{2\,d}\sqrt [3]{-{d}^{2}c}}-{\frac{{\frac{i}{2}}\sqrt{3}}{d}\sqrt [3]{-{d}^{2}c}} \right ){\frac{1}{\sqrt [3]{-{d}^{2}c}}}}}},-{\frac{1}{18\,cd} \left ( 2\,i\sqrt [3]{-{d}^{2}c}\sqrt{3}{{\it \_alpha}}^{2}d-i \left ( -{d}^{2}c \right ) ^{{\frac{2}{3}}}\sqrt{3}{\it \_alpha}+i\sqrt{3}cd-3\, \left ( -{d}^{2}c \right ) ^{2/3}{\it \_alpha}-3\,cd \right ) },\sqrt{{\frac{i\sqrt{3}}{d}\sqrt [3]{-{d}^{2}c} \left ( -{\frac{3}{2\,d}\sqrt [3]{-{d}^{2}c}}+{\frac{{\frac{i}{2}}\sqrt{3}}{d}\sqrt [3]{-{d}^{2}c}} \right ) ^{-1}}} \right ){\frac{1}{\sqrt{d{x}^{3}+c}}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.38863, size = 293, normalized size = 4.37 \begin{align*} \left [\frac{81 \, c^{\frac{3}{2}} \log \left (\frac{d x^{3} + 6 \, \sqrt{d x^{3} + c} \sqrt{c} + 10 \, c}{d x^{3} - 8 \, c}\right ) - 2 \,{\left (d x^{3} + 28 \, c\right )} \sqrt{d x^{3} + c}}{9 \, d}, -\frac{2 \,{\left (81 \, \sqrt{-c} c \arctan \left (\frac{\sqrt{d x^{3} + c} \sqrt{-c}}{3 \, c}\right ) +{\left (d x^{3} + 28 \, c\right )} \sqrt{d x^{3} + c}\right )}}{9 \, d}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 28.1262, size = 65, normalized size = 0.97 \begin{align*} - \frac{18 c^{2} \operatorname{atan}{\left (\frac{\sqrt{c + d x^{3}}}{3 \sqrt{- c}} \right )}}{d \sqrt{- c}} - \frac{6 c \sqrt{c + d x^{3}}}{d} - \frac{2 \left (c + d x^{3}\right )^{\frac{3}{2}}}{9 d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.16134, size = 88, normalized size = 1.31 \begin{align*} -\frac{18 \, c^{2} \arctan \left (\frac{\sqrt{d x^{3} + c}}{3 \, \sqrt{-c}}\right )}{\sqrt{-c} d} - \frac{2 \,{\left ({\left (d x^{3} + c\right )}^{\frac{3}{2}} d^{2} + 27 \, \sqrt{d x^{3} + c} c d^{2}\right )}}{9 \, d^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]